package com.fjwt.gz.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fjwt.gz.db.dto.StatMemberInfoDTO;
import com.fjwt.gz.db.entity.StatMemberInfoEntity;
import com.fjwt.gz.db.entity.StatMemberNumEntity;
import com.fjwt.gz.service.mapper.StatMemberInfoMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 统计：全量用户明细表 服务实现类
 * </p>
 *
 * @author shiyonghao
 * @since 2025-07-24
 */
@Slf4j
@Service
public class StatMemberInfoService extends ServiceImpl<StatMemberInfoMapper, StatMemberInfoEntity> {

    @Autowired
    private StatMemberInfoMapper statMemberInfoMapper;

    public IPage<StatMemberInfoEntity> allMemberInfo(IPage iPage, StatMemberInfoDTO memberInfoDTO) {
        return statMemberInfoMapper.allMemberInfo(iPage,memberInfoDTO);
    }

    public List<StatMemberInfoDTO> allMemberInfoList(StatMemberInfoDTO dto) {
        return statMemberInfoMapper.allMemberInfoList(dto);
    }
}
